package org.example.service.Impl;

import org.example.config.R;
import org.example.domain.Crop;
import org.example.domain.Pea;
import org.example.mapper.PeaMapper;
import org.example.service.PeaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PeaServiceImpl implements PeaService {
    @Autowired
    PeaMapper peaMapper;

    @Override
    public Pea getByCropNo(String cropNo) {
        return peaMapper.getByPeaNo(cropNo);
    }
}
